import { EntityModel } from '@midwayjs/orm';
import {Column, PrimaryColumn} from 'typeorm';
@EntityModel('mid_user')
export class User {
  @PrimaryColumn()
  id: string;
  @Column({
    length:100
  })
  name: string;
  @Column()
  age: number;
  @Column()
  sex: number;
}
